<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>乐优商城--评价成功</title>
    <link rel="icon" href="/assets/img/favicon.ico">
    <link rel="stylesheet" type="text/css" href="css/webbase.css" />
    <link rel="stylesheet" type="text/css" href="css/pages-paysuccess.css" />
</head>

<script src="js/vue/vue.min.js"></script>
<script src="js/index.js"></script>
<script src="js/axios.min.js"></script>
<script src="plugins/jquery/jquery.min.js"></script>
<script src="./js/common.js"></script>
<script type="text/javascript" src="js/plugins/jquery.easing/jquery.easing.min.js"></script>
<script type="text/javascript" src="js/plugins/sui/sui.min.js"></script>
<body>
<!--head-->

<!--页面顶部白条条，由js动态加载-->
<script type="text/javascript" src="plugins/jquery/jquery.min.js"></script>
<div class="top"></div>
<script type="text/javascript">$(".top").load("shortcut.html");</script>

<div class="cart py-container" id="app">
    <!--logoArea-->
    <div class="logoArea">
        <div class="fl logo"><span class="title">评价成功</span></div>
    </div>
    <!--主内容-->
    <div class="paysuccess">
        <div class="success">
            <h3><img src="img/_/right.png" width="48" height="48">　恭喜您，评价成功啦！</h3>
            <div class="paydetail">
                <p class="button">
                    <a href="home.html" class="sui-btn btn-xlarge btn-danger">返回我的订单</a>
                    &nbsp;&nbsp;<a @click="comment" class="sui-btn btn-xlarge ">查看评价</a>
                </p>
            </div>
        </div>

    </div>
</div>
<script>
    //获取地址栏参数，name:参数名称
    function getUrlParms(name){
        var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
        var r = window.location.search.substr(1).match(reg);
        if(r!=null)
            return unescape(r[2]);
        return null;
    }
    var id = getUrlParms("id");
    var vue = new Vue({
        el:"#app",
        data:{
            orderId:id
        },
        methods:{
           comment(){
       location.href="checkcomment.html?id="+id
            }
        }
    })
</script>

<!-- 底部栏位 -->
<!--页面底部，由js动态加载-->
<div class="clearfix footer"></div>
<script type="text/javascript">$(".footer").load("foot.html");</script>
<!--页面底部END-->
</body>

</html>